package com.jeecg.p3.system.base;

import org.jeecgframework.p3.core.utils.persistence.Entity;

/**
 * 底层实体类（父类）
 * Created on 2020-08-20$ 21:00$
 *
 * @author 张晓$
 * @version V1.0
 */
public class BaseEntity implements Entity<String> {
    public static final String invalid = "0";
    public static final String normal = "1";

    private String id;//主键
    private String status;//状态 1:正常、0:删除
    private String createDate;//创建日期 格式：yyyy-MM-dd
    private String createTime;//创建时间 格式：HH:mm:ss
    private String createUser;//创建人
    private String updateDate;//更新日期 格式：yyyy-MM-dd
    private String updateTime;//更新时间 格式：HH:mm:ss
    private String updateUser;//更新人员
    private String deleteDate;//删除日期 格式：yyyy-MM-dd
    private String deleteTime;//删除时间 格式：HH:mm:ss
    private String deleteUser;//删除人员

    public BaseEntity() {

    }
    public BaseEntity(String createDate) {
        this.createDate = createDate;
    }

    @Override
    public String getId() {
        return this.id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getDeleteDate() {
        return deleteDate;
    }

    public void setDeleteDate(String deleteDate) {
        this.deleteDate = deleteDate;
    }

    public String getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(String deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getDeleteUser() {
        return deleteUser;
    }

    public void setDeleteUser(String deleteUser) {
        this.deleteUser = deleteUser;
    }
}
